package com.dianzi.certification.service;

import com.dianzi.certification.dto.UserLoginDTO;
import com.dianzi.certification.dto.UserRegisterDTO;
import com.dianzi.certification.entity.User;
import com.dianzi.certification.vo.R;
import com.dianzi.certification.vo.UserLoginVO;

public interface UserService {

    R<User> findByName(String username);

    R<UserLoginVO> login(UserLoginDTO userLoginVO);

    R<String> register(UserRegisterDTO userRegisterDTO);
}
